<?php include_once('../layouts/header.php') ?>
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center',split:true,border:false">
        <div class="container">
            <fieldset><legend><code>文本框</code></legend></fieldset>
            <form id="form-text"
             data-options="
                form:{
                    url:'/data/index.php?type=test',
                    id:'#form-text',
                },
             ">
                <div class="form-box sm-form">
                    <div class="form-item">
                        <div class="form-input input-group">
                            <span class="input-icon"><i class="fa fa-envelope"></i></span><input type="text" name="email" placeholder="邮箱" class="easyui-validatebox" data-options="required:true,validType:'email'">
                            <div class="notice notice-gray">这里是辅助性文字</div>
                        </div>
                    </div>
                    <div class="form-item row">
                        <div class="form-input input-group col-6">
                            <span class="input-icon"><i class="fa fa-envelope"></i></span><input class="group-input" type="text" placeholder="QQ" value="" name="qq">
                            <div class="notice notice-danger">这里是辅助性文字</div>
                        </div>
                        <div class="form-input input-group col-6">
                            <span class="input-icon"><i class="fa fa-envelope"></i></span><input class="group-input" type="text" placeholder="昵称" value="" name="nickName">
                        </div>
                    </div>
                    <div class="form-item row">
                        <div class="form-input input-group groups col-6">
                            <div class="group-text">真实名称</div>
                            <input class="group-input" type="text" placeholder="真实名称" value="" name="realName">
                        </div>
                        <div class="form-input input-group groups col-6">
                            <div class="group-text">联系方式</div>
                            <input class="group-input" type="text" placeholder="联系方式" value="" name="userName">
                        </div>
                    </div>
                    <div class="form-item">
                        <div class="form-input input-group groups">
                            <div class="group-text">家庭住址</div>
                            <input class="group-input" type="text" placeholder="家庭住址" value="" name="address">
                        </div>
                    </div>
                </div>
                <button type="button" class="btn btn-primary btn-block" onclick="$.submitForm(this)">保存</button>
            </form>
        </div>
    </div>
</div>

<?php include_once('../layouts/footer.php') ?>